// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import VueRouter from 'vue-router'
import routes from './router'
import store from './store/'
import './config/rem'
import axios from 'axios';


Vue.prototype.$http = axios;



import FastClick from 'fastclick'
if ('addEventListener' in document) {
  document.addEventListener('DOMContentLoaded', function() {
    FastClick.attach(document.body);
  }, false);
}

import UrlConfig from './assets/js/UrlConfig.js'
Vue.prototype.HttpUrl = UrlConfig

Vue.use(VueRouter)

const router = new VueRouter({
  routes
})


Vue.config.productionTip = false



new Vue({
  router,
  store,
}).$mount('#app')
